package com.net.shop.car.manager.api.volley.request.jifen;

import org.json.JSONException;
import org.json.JSONObject;

import com.net.shop.car.manager.api.volley.Request;
import com.net.shop.car.manager.utils.Constants;
import com.net.shop.car.manager.utils.LogUtils;

public class JifenExchangeList extends Request {

	private int ponitType;
	private int page;

	public JifenExchangeList(int pointType,int page) {
		super(Constants.JIFEN_EXCHANGE);
		this.ponitType = pointType;
		this.page = page;
	}

	@Override
	public void extensionJSON(JSONObject jsonObject) {
		try {
			jsonObject.put("pointype", ponitType);
			jsonObject.put("page", page);
		} catch (JSONException e) {
			LogUtils.e(e.getMessage());
		}
	}

}
